Previous Book Contents Book Index Next

Inside Macintosh: Programming With the Text Encoding Conversion Manager /


Chapter 4 - Unicode Converter Reference

This chapter describes the types, constants, and functions pertaining to the Unicode Converter.

For a description of types, constants, and functions pertaining to text encodings and their specifications and for result codes returned by Unicode Converter functions, see Chapter 2, "Basic Text Types Reference." For a description of types, constants, and functions pertaining to the Text Encoding Converter, see Chapter 3, "Text Encoding Converter Reference."

The Unicode Converter provides mapping table conversion to or from Unicode. Its primary use is to convert text from any text encoding to Unicode or to convert Unicode text to any text encoding. It does not provide direct conversion between any two non-Unicode encodings, nor does it handle algorithmic code conversions (such as JIS to Shift-JIS) or code-switching schemes (ISO 2022, for example). However, when you want control over the conversion mapping process and extensive error reporting, you can use the Unicode Converter to convert between two text encodings using Unicode as the hub.


Chapter Contents
Unicode Converter Constants
Unicode Mapping Versions
Conversion Control Flags
Fallback-Handler Control Flags
Filter Control Flags
Unicode Converter Result Codes
Unicode Converter Structures and Other Types
Unicode Converter Functions
Using a Static Library
Converting to Unicode
Converting From Unicode
Converting From Unicode to Multiple Encodings
Truncating Strings Before Converting Them
Converting Between Unicode and Pascal Strings
Obtaining Mapping Information
Setting the Fallback Handler
Application-Defined Function

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 NOV 1997